package wei.xinya.core.interfaces;

//哺乳动物
public class MammalInt implements Animal,ShengWu{
	public void eat() {
		System.out.println("Mammal eats");
	}

	public void shengwu() {
		System.out.println("shengwu");
	}
	public void travel() {
		final int a = 1;
		System.out.println(test);
		Animal.stat();
	}
	public int noOflegs() {
		return 0;
	}
	public static void main(String[] args) {
		MammalInt m = new MammalInt();
		MammalInt mammalInt;
		MammalInt mammalInt1;
		MammalInt mammalInt2;
		mammalInt = m;
		mammalInt1 = m;
		mammalInt2 = m;
		m.eat();
		m.travel();
	}
	
}
